//
//  MSHomeDetailView.m
//  MSJD
//
//  Created by xiangbo on 2018/9/22.
//  Copyright © 2018 xiangbo. All rights reserved.
//

#import "MSHomePageView.h"
#import "MSTemplateCellUtil.h"

@implementation MSHomePageView

#pragma mark -UITableViewDelegate and DataSource

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
     MSFoodData *data = self.dataArray[indexPath.row];
    return  [MSTemplateCellUtil getTemplateHeight:data.showType];
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
